package com.sh.data.engine.domain.feign;


import com.sh.data.engine.domain.workspace.manager.model.domain.UserYunQiaoDomain;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(url = "${map.url}",name = "FeignUser")
public interface FeignUser {
    @RequestMapping(value = "/v2/Users/{userId}",method = RequestMethod.GET)
    UserYunQiaoDomain getMap(
            @PathVariable("userId") String userId);

}
